<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/*
|--------------------------------------------------------------------------
| WebSocket 服务器地址设置
|--------------------------------------------------------------------------
|
*/
$config['websocket_server'] = 'ws://192.168.10.104:9501';

/*
|--------------------------------------------------------------------------
| 与服务器 websocket 握手时的验证 code
|--------------------------------------------------------------------------
|
| 在握手成功之后验证
| 用于验证握手服务器的真实性，可以是任意字符（不宜过长）
|
*/
$config['shake_hands_code'] = "Hell,it's about time!";

/*
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
|
| 此为 CI 的默认配置，可以修改为任意32位字符串
| 请注意：服务器端与客户端的此参数需要完全一致，否则将无法正常通信
|
*/
$config['encryption_key'] = hex2bin('bafc42c3d77e1412c7043ddb57aab8bc7e70a0a3e61bdde1571e35d1a422409c');

/*
|--------------------------------------------------------------------------
| 日志的记录级别
|--------------------------------------------------------------------------
|
| 级别参考以下内容（填入对应数字或数组）：
|
|	0 = Disables logging, Error logging TURNED OFF
|	1 = Error Messages (including PHP errors)
|	2 = Debug Messages
|	3 = Informational Messages
|	4 = All Messages
|
*/
$config['log_threshold'] = array(1,2);